import http from '@/service/request'
import * as T from './types'

export const getBookListApi = (params: T.IGetBookListOption) =>
  http.get<T.IGetBookListResponse>('/book_list', params)
export const getBookTypeApi = (params: T.IGetBookTypeOption) =>
  http.get<T.IGetBookTypeResponse>('/book_type', params)
